﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Left.aspx.cs" Inherits="NJL.WebManage.Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        $(document).ready(
	function () {
	    $(".menuTitle").click(function () {
	        $(this).next("div").slideToggle("slow")
			.siblings(".menuContent:visible").slideUp("slow");
	        $(this).toggleClass("activeTitle");
	        $(this).siblings(".activeTitle").removeClass("activeTitle");
	    });
	});
    </script>
    <style type="text/css">
        body
        {
            scrollbar-3dlight-color: #595959;
            scrollbar-arrow-color: #FFFFFF;
            scrollbar-base-color: #CFCFCF;
            scrollbar-darkshadow-color: #FFFFFF;
            scrollbar-face-color: #CFCFCF;
            scrollbar-highlight-color: #FFFFFF;
            scrollbar-shadow-color: #595959;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="menu_tree">
        <h3>
            <a href='Main.aspx' target='mainframe'>我的首页</a></h3>
        <div class="menu_tree_bd">
            <%
                if (USER_TYPE_CODE == "1"||USER_TYPE_CODE == "2")
                {
            %>
            <div class="tree_title_open">
                订单管理</div>
            <ul class="tree_list">
                <li><a href="/Orders/OrderManage.aspx" target='mainframe'>景点订单管理</a></li>
                <li><a href="Orders/FarmerOrders.aspx" target='mainframe'>商户订单管理</a></li>
                <li><a href="Orders/OrderStatistics.aspx" target='mainframe'>商户订单统计</a></li>
                <li><a href="Orders/OrderCount.aspx" target='mainframe'>商户订单核查表</a></li>
                <li><a href="Orders/TempOrder.aspx" target='mainframe'>临时支付订单管理</a></li>
            </ul>
            <%  
                }
                if (USER_TYPE_CODE == "3" || USER_TYPE_CODE == "1" || USER_TYPE_CODE == "2")
            {
            %>
            <div class="tree_title_open">
                快速注册商户</div>
            <ul class="tree_list">
                <li><a href="/Company/FastAddCompany.aspx" target='mainframe'>添加商户</a></li>
            </ul>
            <div class="tree_title_open">
                农家乐管理</div>
            <ul class="tree_list">
                <li><a href="Company/CompanyManage.aspx?typeid=1&typeName=农家乐" target='mainframe'>农家乐管理</a></li>
                <li><a href="Company/AddCompany.aspx?typeid=1&typeName=农家乐" target='mainframe'>添加农家乐</a></li>
            </ul>
            <div class="tree_title_open">
                度假山庄管理</div>
            <ul class="tree_list">
                <li><a href="Company/CompanyManage.aspx?typeid=2&typeName=度假山庄" target='mainframe'>度假山庄管理</a></li>
                <li><a href="Company/AddCompany.aspx?typeid=2&typeName=度假山庄" target='mainframe'>添加度假山庄</a></li>
            </ul>
            <%  
                    
                }
                 if (USER_TYPE_CODE == "1" || USER_TYPE_CODE == "2")
                 {
               
            %>
            <div class="tree_title_open">
                景点管理</div>
            <ul class="tree_list">
                <li><a href="Attractions/AttractionsManage.aspx" target='mainframe'>景点管理</a></li>
                <li><a href="Attractions/AddAttractions.aspx" target='mainframe'>添加景点</a></li>
            </ul>
            <div class="tree_title_open">
                旅游线路管理</div>
            <ul class="tree_list">
                <li><a href="Lines/LinesManage.aspx" target='mainframe'>旅游线路管理</a></li>
                <li><a href="Lines/AddLines.aspx" target='mainframe'>添加旅游线路</a></li>
            </ul>
            <div class="tree_title_open">
                地方特色管理</div>
            <ul class="tree_list">
                <li><a href="LocalColor/LocalColorManage.aspx" target='mainframe'>地方特色管理</a></li>
                <li><a href="LocalColor/AddLocalColor.aspx" target='mainframe'>添加地方特色</a></li>
            </ul>
            <div class="tree_title_open">
                地区管理</div>
            <ul class="tree_list">
                <li><a href="Citys/AddCity.aspx" target='mainframe'>添加地区</a></li>
                <li><a href="Citys/ManageCity.aspx" target='mainframe'>地图管理</a></li>
            </ul>
            <%  
                 }
                 if (USER_TYPE_CODE == "3" || USER_TYPE_CODE == "1" || USER_TYPE_CODE == "2")
                {
            %>
            <div class="tree_title_open">
                个人信息管理</div>
            <ul class="tree_list">
                <li><a href="ChangePassword.aspx" target='mainframe'>修改密码</a></li>
                <li><a href="PersonInformation.aspx" target='mainframe'>个人资料修改</a></li>
            </ul>
            <%
                }
                if (USER_TYPE_CODE == "1" || USER_TYPE_CODE == "2")
                {
            %>
            <div class="tree_title_open">
                新闻管理</div>
            <ul class="tree_list">
                <li><a href="SystemNews/SystemNewsManage.aspx" target='mainframe'>系统新闻管理</a></li>
                <li><a href="SystemNews/AddSystemNews.aspx" target='mainframe'>添加系统新闻</a></li>
            </ul>
            <div class="tree_title_open">
                系统公告管理</div>
            <ul class="tree_list">
                <li><a href="SystemNotice/ManageNotice.aspx" target='mainframe'>系统公告管理</a></li>
                <li><a href="SystemNotice/AddSystemNotice.aspx" target='mainframe'>添加系统公告</a></li>
            </ul>
            <div class="tree_title_open">
                网站SEO设置</div>
            <ul class="tree_list">
                <li><a href="SeoConfig/ManageSeoConfig.aspx" target='mainframe'>栏目SEO管理</a></li>
                <li><a href="SeoConfig/AddSeoConfig.aspx" target='mainframe'>添加栏目SEO</a></li>
            </ul>
            <div class="tree_title_open">
                标签管理</div>
            <ul class="tree_list">
                <li><a href="Tags/TagManage.aspx" target='mainframe'>标签管理</a></li>
            </ul>
            <div class="tree_title_open">
                友情链接管理</div>
            <ul class="tree_list">
                <li><a href="FriendLink/FriendLinkManage.aspx" target='mainframe'>友情链接管理</a></li>
            </ul>
            <div class="tree_title_open">
                广告管理</div>
            <ul class="tree_list">
                <li><a href="Ad/AdManage.aspx" target='mainframe'>广告管理</a></li>
                <% 
                }
                    if (WEBSITE_CODE == "1")
                    {
                %>
                <li><a href="Ad/AddAd.aspx" target='mainframe'>添加广告位</a></li>
                <%
                    }
                %>
            </ul>
            <%
                if (WEBSITE_CODE == "1" && USER_TYPE_CODE == "1")
                {
            %>
            <div class="tree_title_open">
                用户管理</div>
            <ul class="tree_list">
                <li><a href="Users/UserManage.aspx" target='mainframe'>注册用户</a></li>
                <li><a href="Users/CompanyManage.aspx" target='mainframe'>企业用户</a></li>
            </ul>
            <div class="tree_title_open">
                系统管理</div>
            <ul class="tree_list">
                <li><a href="SystemAdmin/WebsiteManage.aspx" target='mainframe'>站点管理</a></li>
                <li><a href="SystemAdmin/AddWebsite.aspx" target='mainframe'>添加站点</a></li>
                <li><a href="SystemAdmin/AdminManage.aspx" target='mainframe'>管理员管理</a></li>
                <li><a href="SystemAdmin/AddAdmin.aspx" target='mainframe'>添加管理员</a></li>
            </ul>
            <%   
             
                }
            %>
        </div>
    </div>
    </form>
</body>
</html>
